package com.itguigu.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itguigu.model.system.SysMenu;
import com.itguigu.vo.system.AssginMenuVo;
import com.itguigu.vo.system.RouterVo;

import java.util.List;

/**
 *
 */
public interface SysMenuService extends IService<SysMenu> {
    List<SysMenu> findNodes();

    boolean removeMenuById(Long id);

    List<SysMenu> findMenuByRoleId(Long roleId);

    void doAssign(AssginMenuVo assginMenuVo);

    List<RouterVo> findUserMenuListByUserId(Long userId);

    List<String> findUserPermsByUserId(Long userId);
}
